Method: HexaPDF::Layout::BoxFitter#<<

Defined in:
lib/hexapdf/layout/box_fitter.rb

#<<(frame) ⇒ Object

Add the given frame to the list of frames.



83
84
85
86
87
# File 'lib/hexapdf/layout/box_fitter.rb', line 83

def <<(frame)
  @frames << frame
  @initial_frame_y << frame.y
  @content_heights << 0
end